							<div class="portlet-body">
								<div class="table-toolbar">
									<div class="row">
										<div class="col-md-6">
											<div class="btn-group">
												<a href="<?php echo base_url().'index.php/admin/admin_index_ctrl/create_article_page';?>"><button id="sample_editable_1_new" class="btn green">
												Add New <i class="fa fa-plus"></i>
												</button></a>
											</div>
										</div>
									</div>
								</div>
								<table class="table table-striped table-hover table-bordered" id="sample_editable_1">
								<thead>
								<tr>
								<?php foreach($articles_type_fileds as $article_type_k =>$article_type_v):?>
									<th>
										<?php echo anchor('admin/admin_index_ctrl/table_editable/'.$article_type_k.'/'.(($sort_order=='asc' && $order_by==$article_type_k)?'desc':'asc'),$article_type_v);?> 
									</th>
									<?php endforeach;?>
									<th>
										 Edit
									</th>
									<th>
										 Delete
									</th>
								</tr>
								</thead>
								<tbody>
								<?php echo 'Total Records: '.$articles_all_types->total;?>
								<?php// print_r($articles_all_types);exit;?>
								<?php foreach($articles_all_types->info as $value):?>
								<tr>
									<td>
										 <?php echo $value->title?>
									</td>
									<td>
										 <?php if(strlen($value->description) > 50){
											 echo substr($value->description,0,50).'...............';
										 }else{
											 echo $value->description;
										 }?>
									</td>
									<td>
										 <?php if($value->status == 1){?>
										 <i class="fa fa-check"></i>
										 <?php }else{ ?>
										 <i class="fa fa-times"></i>
										  <?php } ?>
									</td>
									<td>
										<a class="edit" href="<?php echo base_url().'index.php/admin/admin_index_ctrl/edit_article_page/'.$value->article_type_id;?>">
										Edit </a>
									</td>
									<td>
										<a class="delete" href="<?php echo base_url().'index.php/admin/admin_index_ctrl/delete_article/'.$value->article_type_id.'/'.$value->status;?>">
										<?php if($value->status == 1){?>
										 Delete
										 <?php }else{ ?>
										 Active
										  <?php } ?></a>
									</td>
								</tr>
								<?php endforeach;?>
								
							</table>
							<?php echo $pagination;?>
						<!-- END EXAMPLE TABLE PORTLET-->
					</div>
				</div>